package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 单选选项对象 t_singleselchoice
 * 
 * @author ruoyi
 * @date 2020-05-14
 */
public class TSingleselchoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer choiceId;

    /** 题目id */
    @Excel(name = "题目id")
    private Integer questionId;

    /** 选项名称 */
    @Excel(name = "选项名称")
    private String choiceName;

    /** 选项内容 */
    @Excel(name = "选项内容")
    private String choiceContent;

    /** 排序 */
    @Excel(name = "排序")
    private Integer choiceOrder;

    public void setChoiceId(Integer choiceId) 
    {
        this.choiceId = choiceId;
    }

    public Integer getChoiceId() 
    {
        return choiceId;
    }
    public void setQuestionId(Integer questionId) 
    {
        this.questionId = questionId;
    }

    public Integer getQuestionId() 
    {
        return questionId;
    }
    public void setChoiceName(String choiceName) 
    {
        this.choiceName = choiceName;
    }

    public String getChoiceName() 
    {
        return choiceName;
    }
    public void setChoiceContent(String choiceContent) 
    {
        this.choiceContent = choiceContent;
    }

    public String getChoiceContent() 
    {
        return choiceContent;
    }
    public void setChoiceOrder(Integer choiceOrder) 
    {
        this.choiceOrder = choiceOrder;
    }

    public Integer getChoiceOrder() 
    {
        return choiceOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("choiceId", getChoiceId())
            .append("questionId", getQuestionId())
            .append("choiceName", getChoiceName())
            .append("choiceContent", getChoiceContent())
            .append("choiceOrder", getChoiceOrder())
            .append("createTime", getCreateTime())
            .toString();
    }
}
